package com.garlic.face.jlf.presenter;

import android.text.TextUtils;

import com.alipay.xdevicemanager.api.XDeviceManager;
import com.garlic.face.jlf.App;
import com.garlic.face.jlf.utils.LogUtils;

import org.json.JSONObject;

/**
 * Created by shiyanqi on 18/9/29.
 */

public class PartialPaymentPresenter implements PartialPaymentContract.Presenter {

	private PartialPaymentContract.View mView;
	private XDeviceManager mXDeviceManager = null;

	public PartialPaymentPresenter(PartialPaymentContract.View view){
		this.mView = view;
		try {
			mXDeviceManager = new XDeviceManager(App.getContext());
			mXDeviceManager.initContext();
		} catch (Exception e) {
			if (!TextUtils.isEmpty(e.getMessage())) {
				e.printStackTrace();
				LogUtils.e("BASE ACTIVITY " + e.getMessage());

			}
		}
	}


	@Override
	public void cancelPay(String reason) {

	}

	@Override
	public void parseJson(JSONObject jsonObject) {

	}

	@Override
	public void destoryMXdevice() {

	}

	@Override
	public void payCard() {

	}
}
